// JeolApp.h : main header file for the PROJECT_NAME application

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols
#include "Configuration.h"
#include "Logger.h"


class CJeolDlg;

// CJeolApp:
// See JeolApp.cpp for the implementation of this class

class CJeolApp : public CWinAppEx
{
private:
	CJeolDlg * m_pDlgWnd;
	BOOL       m_bLogging;

public:

	CJeolApp(void);
	virtual ~CJeolApp(void);

	BOOL IsLogEnable(void) const { return m_bLogging; };
	void StartLog(void);
	void StopLog(void);

protected:
	DECLARE_MESSAGE_MAP()
	virtual BOOL InitInstance(void);
	virtual int ExitInstance(void);
};

extern CAutoPtr < ITextOutput > pLogger;
extern CJeolApp theApp;
extern CConfiguration theConfig;